package com.savitar.role.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.savitar.common.entity.BaseModel;
import lombok.Data;
import lombok.ToString;

import java.util.Date;
import java.io.Serializable;

/**
 * (Role)实体类
 *
 * @author Savitar
 * @since 2021-05-15 23:20:54
 */
@ToString(callSuper = true)
@Data
@TableName("t_role")
public class Role extends BaseModel<Role> implements Serializable {
    private static final long serialVersionUID = 670630545476920397L;
    /**
     * 主键
     */
    @TableId
    private String pkId;
    /**
     * 角色名称
     */
    private String name;

    private Integer orderNum;

}